package com.jic.member.mapper;

import com.jic.member.entity.TSmsTouchSettings;

import java.util.List;

public interface TSmsTouchSettingsMapper {

  /**
   * T_SMS_TOUCH_SETTINGS插入数据
   *
   * @param tSmsTouchSettings 入参实体类
   */
  int insert(TSmsTouchSettings tSmsTouchSettings);

  /**
   * T_SMS_TOUCH_SETTINGS插入数据
   *
   * @param tSmsTouchSettings 入参实体类
   */
  int insertSelective(TSmsTouchSettings tSmsTouchSettings);

  /**
   * T_SMS_TOUCH_SETTINGS根据表对象数据修改数据
   *
   * @param tSmsTouchSettings 入参实体类
   */
  int updateByPrimaryKey(TSmsTouchSettings tSmsTouchSettings);

  /**
   * T_SMS_TOUCH_SETTINGS根据表对象数据修改数据
   *
   * @param tSmsTouchSettings 入参实体类
   */
  int updateByPrimaryKeySelective(TSmsTouchSettings tSmsTouchSettings);

  /**
   * T_SMS_TOUCH_SETTINGS根据id删除数据
   *
   * @param tSmsTouchSettings 入参实体类
   */
  int deleteByPrimaryKey(TSmsTouchSettings tSmsTouchSettings);

  /**
   * T_SMS_TOUCH_SETTINGS根据主键查询数据
   *
   * @param tSmsTouchSettings 入参实体类
   */
  TSmsTouchSettings selectByPrimaryKey(TSmsTouchSettings tSmsTouchSettings);

  /**
   * T_SMS_TOUCH_SETTINGS根据主键查询数据
   *
   * @param tSmsTouchSettings 入参实体类
   */
  List<TSmsTouchSettings> listPageBySelective(TSmsTouchSettings tSmsTouchSettings);

  /**
   * T_SMS_TOUCH_SETTINGS查询数据
   *
   * @param tSmsTouchSettings 入参实体类
   */
  List<TSmsTouchSettings> selectBySelective(TSmsTouchSettings tSmsTouchSettings);

  /**
   * description: 根据ID修改
   *
   * @author: jackHe
   * @time: 2020/6/5 16:22
   */
  int updateById(TSmsTouchSettings tSmsTouchSettings);

  /**
   * description: 得到所有短信设置
   *
   * @author: jackHe
   * @time: 2020/6/22 11:33
   */
  List<TSmsTouchSettings> getSmsInfoByDeptId();

}
